package jdbc;



import util.MysqlUtil;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;

public class JdbcTest3 {

    public static void main(String[] args) {

        Connection conn = MysqlUtil.getCon();

        String sql="insert into login(username,password) values('test2','123456') ";

        PreparedStatement ps = MysqlUtil.getPs(sql);

        int i = MysqlUtil.getInsert();
        System.out.println(i);
        MysqlUtil.close();

    }

}
